cmake_minimum_required(VERSION 2.8)

message("Creamos proyecto.")
project(Figuras)


set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
message("Se generan los binarios en ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")

#set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)I
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) 
message("Se generan las bibliotecas en ${LIBRARY_OUTPUT_PATH}")

message("Añadidos subdirectorios src y test.")
add_subdirectory (src)
add_subdirectory (test)




